package com.yc.weixin.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yc.weixin.entity.ArticleType;
import com.yc.weixin.entity.WeiXinTempPage;
import com.yc.weixin.mapper.ArticleTypeMapper;
import com.yc.weixin.service.ArticleTypeService;
@Service("articleTypeService")
public class ArticleTypeServiceImpl implements ArticleTypeService {

	@Resource(name="articleTypeMapper")
	private ArticleTypeMapper articleTypeMapper;
	@Override
	public WeiXinTempPage<ArticleType> findArticleTypeByPage(int page, int rows) {
		return	articleTypeMapper.findArticleTypeByPage(page,rows);
	}
	@Override
	public List<ArticleType> findArticleType() {
		return articleTypeMapper.findArticleType();
	}

}
